<template>
  <div>
    <h2>开发测试</h2>
    <hupload :options=options v-on:receiveUploadMsg="receiveUploadMsg"> </hupload>
  </div>
</template>

<script>
import Vue from 'vue'
import hupload from '../plugin/toy_two'
Vue.use(hupload)
export default {
  data () {
    return {
      options: {
        'showProgress': true,
        'imagePreview': true,
        'url': 'str',
        'fileUploadName': 'ajax-upload',
        'limitSize': 1
      }
    }
  },
  components: {
  },
  methods: {
    receiveUploadMsg (msg) {
      console.log(msg)
    }
  }
}
</script>

<style>
</style>
